import { FormSchema } from '/@/components/Table';
export const agentLevelData: any = [
  {
    name: 'Senior Manager',
    level: '1',
    permission: '0',
  },
];

export const agentLevelFormSchema: FormSchema[] = [
  {
    label: 'id',
    field: 'id',
    component: 'Input',
    show: false,
  },
  {
    field: 'name',
    label: '级别名称：',
    component: 'Input',
    colProps: { span: 22 },
  },
  {
    field: 'level',
    label: '层级：',
    component: 'Select',
    colProps: { span: 22 },
    componentProps: {
      options: [
        { label: '1', value: '1' },
        { label: '2', value: '2' },
        { label: '3', value: '3' },
      ],
    },
  },
  {
    field: 'permission',
    label: '权限：',
    component: 'Select',
    colProps: { span: 22 },
    componentProps: {
      options: [
        { label: '可编辑个人资料和团队资料', value: '0' },
        { label: '不可编辑个人资料和团队资料', value: '1' },
      ],
    },
  },
];
